/*
package com.loongtech.bi.action;

*/
/**
 * 数据更新类型
 * @author xckuang
 * @date 2016-11-12
 *//*

public enum UpdateType {
	byHour("1","分时"),
	bySum("2","累加"),
	;
	
	private String id;
	private String desc;

	UpdateType(String id, String desc) {
		this.id = id;
		this.desc = desc;
	}

	public String getId() {
		return id;
	}

	public String getDesc() {
		return desc;
	}

	public static UpdateType getEnumById(String id) {
		for (UpdateType e : UpdateType.values()) {
			if (e.getId().equals(id)) {
				return e;
			}
		}
		return null;
	}
}
*/
